import axiosInstance from "../axiosinstance";

const categoryInfo={
    existsCategoryName(category_name ){
        return axiosInstance.get('categoryInfo/existsCategoryName',{
            params:{
                category_name 
           }
        })
    },
    getListByPage({pageIndex ,category_name}){
        return axiosInstance.get('categoryInfo/getListByPage',{
            params:{
                pageIndex ,
                category_name
            }
        })
    }


}

export default categoryInfo